package com.yiwei.hdb.api.callback;

import com.yiwei.hdb.api.bean.UploadSubmitIdcardBean;
import com.yiwei.hdb.api.contract.BaseContract;
import com.yiwei.hdb.model.IdentityModel;
import com.yiwei.hdb.model.ResponseModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface ChsiIdcardContract {
    interface View extends BaseContract.BaseView {
        void getIdentityInfoSuccess(int poi, IdentityModel item);

        void getSubmitidCardSuccess(String name, String idcard, ResponseModel item);

        void getChsiCodeSuccess(ResponseModel item);

        void getChsiLoginSuccess(ResponseModel item);

        void getChsiNeedCode(String code);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getIdentityInfo(int paramInt, String paramString);

        void getSubmitidCard(String name, String idcard, UploadSubmitIdcardBean item);

        void getChsiCode(String username, String password);

        void getChsiLogin(String username, String password, String captcha);
    }
}
